package com.scs.service;

import com.scs.pojo.UploadTask;

import java.util.List;

public interface UploadTaskService {
    int uploadTaskUpdate(String userId, String taskId, String path, String fileName, String status,String uploadClaim);
    int uploadTaskInsert(List<UploadTask> uploadTasks);
    List<UploadTask> getStudentsTaskByTaskId(String taskId);
    //学生获取上传表中的个人数据， 用于判断是否超时，是否提交
    List<UploadTask> studentGetUploadTask(String userId);
    int teacherDeleteTask(List<String> taskId);
    //模糊搜索学生作业
    List<UploadTask> searchOfTaskSubmit(String taskId, String key);
    //批改作业接口
    int teacherCorrectUploadTask(String userId, String taskId, String score, String teacherComment, String checkStatus);
}
